package org.nhommua.dto;

import java.util.ArrayList;
import java.util.Collection;


public class Product implements java.io.Serializable{
	private static final long serialVersionUID = 1L;
	private long productId;
	private String productName;
	private String originalPrice;
	private String salePromotionPrice;
	private int dateNumberIsEffect;
	private int numberOfTurnsShare;
	private int numberOfTurnsLike;
	private int numberOfTurnsView;
	private String pathDiscriptionFile;
	private int numberProductSold;
	private Provider provider;
	private ProductType productType;
	private Collection<ProductImages> productImages=new ArrayList<ProductImages>();
	
	//setter and getter
	public long getProductId() {
		return productId;
	}
	
	public void setProductId(long productId) {
		this.productId = productId;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public String getOriginalPrice() {
		return originalPrice;
	}
	public void setOriginalPrice(String originalPrice) {
		this.originalPrice = originalPrice;
	}
	public String getSalePromotionPrice() {
		return salePromotionPrice;
	}
	public void setSalePromotionPrice(String salePromotionPrice) {
		this.salePromotionPrice = salePromotionPrice;
	}
	public int getDateNumberIsEffect() {
		return dateNumberIsEffect;
	}
	public void setDateNumberIsEffect(int dateNumberIsEffect) {
		this.dateNumberIsEffect = dateNumberIsEffect;
	}
	public int getNumberOfTurnsShare() {
		return numberOfTurnsShare;
	}
	public void setNumberOfTurnsShare(int numberOfTurnsShare) {
		this.numberOfTurnsShare = numberOfTurnsShare;
	}
	public int getNumberOfTurnsLike() {
		return numberOfTurnsLike;
	}
	public void setNumberOfTurnsLike(int numberOfTurnsLike) {
		this.numberOfTurnsLike = numberOfTurnsLike;
	}
	public int getNumberOfTurnsView() {
		return numberOfTurnsView;
	}
	public void setNumberOfTurnsView(int numberOfTurnsView) {
		this.numberOfTurnsView = numberOfTurnsView;
	}
	public String getPathDiscriptionFile() {
		return pathDiscriptionFile;
	}
	public void setPathDiscriptionFile(String pathDiscriptionFile) {
		this.pathDiscriptionFile = pathDiscriptionFile;
	}
	public int getNumberProductSold() {
		return numberProductSold;
	}
	public void setNumberProductSold(int numberProductSold) {
		this.numberProductSold = numberProductSold;
	}
	public Provider getProvider() {
		return provider;
	}
	public void setProvider(Provider provider) {
		this.provider = provider;
	}
	public ProductType getProductType() {
		return productType;
	}
	public void setProductType(ProductType productType) {
		this.productType = productType;
	}
	
	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public Collection<ProductImages> getProductImages() {
		return productImages;
	}

	public void setProductImages(Collection<ProductImages> productImages) {
		this.productImages = productImages;
	}
}
